<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>合同付款</title>
<%@include file="/skins/jsp/loadCss.jsp"%>
</head>
<body>
	<%@include file="/skins/jsp/loadJquery.jsp"%>
	<h2>合同付款</h2>
	<s:iterator value="model">
		<s:form action="updateContractBypayType" namespace="/contract" method="POST">
			<p class="ch-form-row ch-form-required">
				<label for="cttNo">合同号:</label>
				<s:hidden name="cttId"></s:hidden>
				<s:textfield id="cttNo" name="cttNo" required="required"
					disabled="true"></s:textfield>
			</p>
			<p class="ch-form-row ch-form-required">
				<label for="amount"> 合同总金额: <em>*</em> </label>
				<s:textfield id="amount" name="amount" required="required"></s:textfield>
			</p>
			<p class="ch-form-row ch-form-required">
				<label for="paidOn"> 已付款金额: <em>*</em> </label>
				<s:textfield id="paidOn" name="paidOn" required="required"></s:textfield>
			</p>
			<p class="ch-form-row ch-form-required">
				<label for="paidOff"> 未付款金额: <em>*</em> </label>
				<s:textfield id="paidOff" name="paidOff" required="required"></s:textfield>
			</p>
			<p class="ch-form-actions">
				<s:submit cssClass="ch-btn ch-primary" value="确认"></s:submit>
				<s:reset class="ch-btn ch-primary" value="重置"></s:reset>
				<s:a cssClass="ch-btn ch-btn-small" action="findContracts"
					namespace="/contract">后退</s:a>
			</p>
		</s:form>
	</s:iterator>
	<script type="text/javascript">
		var anum = $("#amount").price("请输入正确总金额！"),ponum = $("#paidOn").price("请输入正确已付款金额！"),pfnum = $("#paidOff").price("请输入正确未付款金额！");
	</script>
</body>
</html>